package com.mybatis.example;

import com.mybatis.example.entity.User;
import com.mybatis.example.mapper.UserMapper;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;

import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;

public class Client2 {


    public static void main(String[] args) throws IOException {


        HashMap<String, Set<String>> ss = new HashMap<>();

        Set<String> set = ss.computeIfAbsent("aa",  k -> new HashSet<>());
        set.add("11");
        System.out.println(ss);

    }
}
